home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 1.8 KB | 107 lines | [TEXT/MPS ] |
- ;
- ; File: DiskInit.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__DISKINIT__') = 'UNDEFINED' THEN
- __DISKINIT__ SET 1
-
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- ; include 'ConditionalMacros.a' ;
- HFSDefaults RECORD 0
- sigWord ds.b 2 ; signature word
- abSize ds.l 1 ; allocation block size in bytes
- clpSize ds.l 1 ; clump size in bytes
- nxFreeFN ds.l 1 ; next free file number
- btClpSize ds.l 1 ; B-Tree clump size in bytes
- rsrv1 ds.w 1 ; reserved
- rsrv2 ds.w 1 ; reserved
- rsrv3 ds.w 1 ; reserved
- sizeof EQU 24
- ENDR
-
- IF SystemSevenOrLater THEN
- IF GENERATING68K THEN
- Macro
- _DILoad
- moveq #2,d0
- dc.w $3F00
- dc.w $A9E9
- EndM
- ELSE
- IMPORT DILoad
- ENDIF
-
- IF GENERATING68K THEN
- Macro
- _DIUnload
- moveq #4,d0
- dc.w $3F00
- dc.w $A9E9
- EndM
- ELSE
- IMPORT DIUnload
- ENDIF
-
- IF GENERATING68K THEN
- Macro
- _DIBadMount
- moveq #0,d0
- dc.w $3F00
- dc.w $A9E9
- EndM
- ELSE
- IMPORT DIBadMount
- ENDIF
-
- IF GENERATING68K THEN
- Macro
- _DIFormat
- moveq #6,d0
- dc.w $3F00
- dc.w $A9E9
- EndM
- ELSE
- IMPORT DIFormat
- ENDIF
-
- IF GENERATING68K THEN
- Macro
- _DIVerify
- moveq #8,d0
- dc.w $3F00
- dc.w $A9E9
- EndM
- ELSE
- IMPORT DIVerify
- ENDIF
-
- IF GENERATING68K THEN
- Macro
- _DIZero
- moveq #10,d0
- dc.w $3F00
- dc.w $A9E9
- EndM
- ELSE
- IMPORT DIZero
- ENDIF
-
- ELSE
- ENDIF
- ENDIF ; __DISKINIT__
-